/*********************\
* Author:Dzlua
* QQ:505544956
* Time:2017/04/16
\**********************/
#ifndef __LUA_PROGRESS_H__
#define __LUA_PROGRESS_H__
#pragma once

#include "../Text/LuaLabel.h"

namespace DuiLib {

class LuaProgress : public LuaLabel
{
    SDLUA_CLASS_DECLARE(LuaProgress);

    bool IsShowText();
    void SetShowText(bool bShowText);
    bool IsHorizontal();
    void SetHorizontal(bool bHorizontal);
    bool IsStretchForeImage();
    void SetStretchForeImage(bool bStretchForeImage);
    int GetMinValue();
    void SetMinValue(int nMin);
    int GetMaxValue();
    void SetMaxValue(int nMax);
    int GetValue();
    void SetValue(int nValue);
    /*void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);
    void PaintForeColor(HDC hDC);
    void PaintForeImage(HDC hDC);
    virtual void UpdateText();*/
};

}

#endif //__LUA_PROGRESS_H__